Using a model-based test generator to test for standard conformance

نویسندگان

  • Eitan Farchi
  • Alan Hartman
  • Shlomit S. Pinter
چکیده

test generation. The process of test generation is automated by GOTCHA, which explores the state space described by the GDL model. The user has several alternative test generation strategies, including breadth-first search, coverage-directed search, and on-the-fly test generation. Breadth-first search and on-the-fly test generation algorithms are well known. Coverage-first search involves giving priority to exploring states that lead to new coverage tasks before those that lead to areas of the projection state space that have already been encountered. FARCHI, HARTMAN, AND PINTER IBM SYSTEMS JOURNAL, VOL 41, NO 1, 2002 98 The principle that underlies GOTCHA’s test generation strategy is the construction of a search tree that explores the entire state space. This is done by traversing all the reachable states of the state machine. The set of coverage tasks is constructed by observing each instance of a projection state or transition that satisfies a coverage criterion. An on-line randomization algorithm chooses a reachable representative of each coverage task encountered. GOTCHA performs a further reachability analysis, starting from the randomly chosen representative, to determine if a TC_EndTestCase condition can be reached from the specific instance of the coverage task. If a test that satisfies all the test constraints exists in the state machine graph, then the test case or path is output to a file in an XML format for describing paths. If no TC_EndTestCase condition can be reached from a particular instance of a coverage task, another representative of the task is chosen. If no TC_EndTestCase condition is reachable from any reachable representative of a coverage task, then the user is notified of the fact that a reachable task has been identified with no test cases satisfying the test constraints through any of its representatives. The abstract XML test suite comprises the following elements: ● The name of the model, for example,

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Slope Testing for Activity Diagrams and Safety Critical Software

Formal system modeling and rigorous validation techniques have become a corner stone in the development practice for safety critical systems. It is characteristic for model-based approaches that the relationship between the model and its implementation needs to be monitored and ultimately brought to conformance. To bridge the gap between model and implementation, the current paper proposes a ne...

متن کامل

An automatic test case generator for evaluating implementation of access control policies

One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...

متن کامل

Does this fault lead to failure? Combining refinement and input-output conformance checking in fault-oriented test-case generation

In this paper we describe an advanced test-case generation technique that is implemented in our model-based test-case generator MoMuT::UML. The tool injects faults into a UML model and analyses if the faults propagate to the interface. If a fault does propagate to an observable failure, an explaining sequence of events is generated and converted into a test-case scenario. The faults are detecte...

متن کامل

Model-Based Mutation Testing of Hybrid Systems

This paper presents a novel model-based testing approach developed in the MOGENTES project. The aim is to test embedded systems controlling a continuous environment, i.e., hybrid systems. We present our two key abstractions against which we systematically test for conformance. (1) Classical action systems are used to model the discrete controller behavior. (2) Qualitative differential equations...

متن کامل

Investigation of STATCOM effects on synchronous generator impedance based LOF relay with considering a realistic model for the excitation system of the generator

This paper studies the effects of static synchronous compensator (STATCOM) on synchronous generator conventional loss of field (LOF) protection. To accomplish a comprehensive study, a typical and realistic excitation system is considered for the generator by using the phase-domain generator model available in the real-time-digital-simulator. Using such a system, LOF phenomenon is realistically ...

متن کامل

Conformance Testing of Objects in Distributed Processing Systems

The object model is a very popular paradigm for building distributed applications. Several standardisation efforts are underway that define architectures for distributed computing based on the object model. With object-based service specifications the need for conformance testing of object implementations arises to ensure that objects act as intended. The issue of conformance testing is of part...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IBM Systems Journal

دوره 41  شماره 

صفحات  -

تاریخ انتشار 2002